package websocket.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 *
 * 无人机坐标位置实体
 *
 * @author nrj
 * @since 2022-7-11 10:53:02
 * @version v1.0
 */
@TableName("tb_data_log")
@ApiModel(value="数据日志", description="位置数据日志")
public class DataLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(hidden = true)
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(name = "wrj_lat", value = "无人机经度")
    private double wrjLat;

    @ApiModelProperty(name = "wrj_lon", value = "无人机纬度")
    private double wrjLon;

    @ApiModelProperty(name = "wrj_hgt", value = "无人机高度")
    private double wrjHgt;


    @ApiModelProperty(name = "spy_lat", value = "水平仪经度")
    private double spyLat;

    @ApiModelProperty(name = "spy_lon", value = "水平仪纬度")
    private double spyLon;

    @ApiModelProperty(name = "spy_hgt", value = "水平仪高度")
    private double spyHgt;

    @ApiModelProperty(name = "xj", value = "斜距")
    private double xj;


    @ApiModelProperty(name = "creat_time", value = "创建时间")
    private String creatTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public double getWrjLat() {
        return wrjLat;
    }

    public void setWrjLat(double wrjLat) {
        this.wrjLat = wrjLat;
    }

    public double getWrjLon() {
        return wrjLon;
    }

    public void setWrjLon(double wrjLon) {
        this.wrjLon = wrjLon;
    }

    public double getWrjHgt() {
        return wrjHgt;
    }

    public void setWrjHgt(double wrjHgt) {
        this.wrjHgt = wrjHgt;
    }

    public double getSpyLat() {
        return spyLat;
    }

    public void setSpyLat(double spyLat) {
        this.spyLat = spyLat;
    }

    public double getSpyLon() {
        return spyLon;
    }

    public void setSpyLon(double spyLon) {
        this.spyLon = spyLon;
    }

    public double getSpyHgt() {
        return spyHgt;
    }

    public void setSpyHgt(double spyHgt) {
        this.spyHgt = spyHgt;
    }

    public double getXj() {
        return xj;
    }

    public void setXj(double xj) {
        this.xj = xj;
    }

    public String getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(String creatTime) {
        this.creatTime = creatTime;
    }

    @Override
    public String toString() {
        return "DataLog{" +
                "id=" + id +
                ", wrjLat=" + wrjLat +
                ", wrjLon=" + wrjLon +
                ", wrjHgt=" + wrjHgt +
                ", spyLat=" + spyLat +
                ", spyLon=" + spyLon +
                ", spyHgt=" + spyHgt +
                ", xj=" + xj +
                ", creatTime='" + creatTime + '\'' +
                '}';
    }
}
